@mixin transition {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@keyframes jumpin {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
    }
    30% {
        opacity: 1;
        -webkit-transform: scale(1.02);
        -moz-transform: scale(1.02);
        -o-transform: scale(1.02);
        transform: scale(1.02);
    }
    60% {
        opacity: 1;
        -webkit-transform: scale(0.975);
        -moz-transform: scale(0.975);
        -o-transform: scale(0.975);
        transform: scale(0.975);
    }
    85% {
        opacity: 1;
        -webkit-transform: scale(1.01);
        -moz-transform: scale(1.01);
        -o-transform: scale(1.01);
        transform: scale(1.01);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

#offCanvasContentScroll {
    background: #D20067;
}

.top-bg {
    position: absolute;
    right: 0;
    top: 20px;
    width: 70px;
    z-index: 999;
    img {
        width: 100%;
    }
}
// .bottom-bg {
//     position: absolute;
//     left: 0;
//     bottom: 126px;
//     width: 100%;
//     z-index: 999;
//     img {
//         width: 100%;
//     }
// }

.search-content{
    margin: 60px 20px;
    transition: all 0.4s ease;
    .search-text{
        margin-top: 20px;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 20px;
        padding-bottom: 40px;
        background: url(http://r0.ihuipao.cn/race/wuxima/img/search-bk.png)center 485px no-repeat;
        //70%;
        background-color: #fff;
        .search-title{
            height: 40px;
            padding-left: 20px;
            text-align: center;
            margin-top: 20px;
            img{
                height: 20px;
                vertical-align: middle;
                display: inline-block;
            }
            p{
                color: #881773;
                display: inline-block;
                text-align: center;
                font-size: 22px;
                line-height: 40px;
                font-weight: 900;
                margin: 0;
                vertical-align: middle;
                text-indent: 0;
            }
        }
        .mui-input-group:before {
            display: none;
        } 
        .mui-input-group:after {
            display: none;
        } 
        .required {
            display: none;
        }
        .search-form{
            font-size: 12px;
//             .tip {
//                 display: none;
//                 position: absolute;
//                 top: 4px;
//                 left: 68%;
//                 margin: 0;
//             }
//           
            label {
                width: 27%;
                padding-right: 0;
                font-family: 'Helvetica Neue',Helvetica,sans-serif;
                line-height: 1.1;
                padding: 11px 13px;
            }
            input {
                font-size: 10px;
            }
            .mui-input-row:after {
                display: none;
            }

            .search-group{
                margin-top: 10px;
                width: 100%;
                .se-radio {
                    width: 68%;
                    margin-right: 4px;
                    float: right;
                    .mui-radio {
                        width: 49%;
                        height: 36px;
                        display: inline-block;
                    }
                    label {
                        padding: 0;
                        width: 60px;
                    }

                    input {
                        width: 20px;
                        left: 0;
                        top: 0;
                        display: inline-block;
                        position: relative;
                    }
                    input:before {
                        font-size: 20px;
                    }
                    div {
                        // position: absolute;
                        // top: -8px;
                        // left: 30%;
                        // vertical-align: middle;
                        input[type=radio]{
                            // float: left;
                            // position: relative;
                            // display: inline-block;
                            // vertical-align: middle;
                            // top: 16px;
                            // left: 0;
                        }
                        
                    }
                    // div:last-child {
                    //     left: 64%;
                    // }
                }
            }
            .mui-input-clear {
                max-width: 224px;
                width: 68%;
                border: 1px solid #ccc;
                border-radius: 4px;
                height: 30px;
                padding-left: 10px;
                margin-right: 4px;
                float: left;
            }
            
            #dtPicker-input {
                width: 67%;
                height: 30px;
                border: 1px solid #ccc;
                border-radius: 4px;
                padding-left: 10px;
                margin-right: 4px;
                color: #afafaf;
                font-size: 12px;
                text-align: left;
                background: url(http://r0.ihuipao.cn/race/wuxima/img/search-calendar.png) no-repeat;
                background-position: 96% 10%;
            }
        }
        .info-tip {
            margin-top: 10px;
            text-align: center;
            font-size: 12px;
            color: #D20067;
        }
        .spe-button {
            width: 70%;
            height: 40px;
            line-height: 40px;
            border-radius: 6px;
            margin: 40px auto;
            padding: 0;
            border: none;
            background: #720061;
            color: #fff;
        }
        .search-body{
            max-width: 883px;
            margin: auto;
            padding-top: 20px;
            padding-left: 20px;
            padding-right: 20px;
            h3{
                color: #DD007B;font-size: 20px;font-weight: 800;margin-bottom: 20px;
            }
            .search-d2 {
                margin-top: 40px;
                span {
                    display: inline-block;
                    border-bottom: 1px solid #DD007B;
                }
                .search-icon {
                    width: 11px;height: 7px;
                    background: url(http://r0.ihuipao.cn/race/wuxima/img/search-icon.png)center no-repeat;
                    border:none;
                    margin-left: 5px;
                }
            }
            p {
                color: #000;line-height: 25px;margin: 0
            }
            .search-div {
                // display: none;
                margin-bottom: 15px;
            }
            .search-anwser {
                color: #333333;font-weight:bold;
            }
            .search-d2:hover {
                .search-icon {
                    transform: rotate(-90deg);
                    -moz-transform:rotate(-90deg);
                    -webkit-transform:rotate(-90deg);
                    filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3); 
                }
                .search-div{
                    display: block;
                }
                
            }
        }
    }
    
}

.search-result {
    display: none;
    opacity: 0;
    margin: 60px 20px;
    .result-container {
        border-radius: 10px;
        background: #fff;
        margin-top: 20px;
        padding: 40px 10px;
        overflow: hidden;
        margin-bottom: 20px;
        @include transition;
        -webkit-animation: jumpin 0.8s ease;
        -moz-animation: jumpin 0.8s ease;
        -o-animation: jumpin 0.8s ease;
        animation: jumpin 0.8s ease;
        .result-title {
            position: relative;
            i {
                display: block;
                margin-top: 0;
                font-size: 30px;
                font-weight: 900;
                line-height: 46px;
                color:#700060;
                text-align: center;
            }
            
            
        }
        .result-content {
            margin-top: 10px;
            .reason {
                position: relative;
                padding: 0 30px;
                color: #cf057d;
                h3 {
                    width: 100%;
                    height: 26px;
                    line-height: 36px;
                    font-size: 12px;
                    font-weight: 400;
                    line-height: 18px;
                    text-align: center;
                    margin: 0;
                    display: inline-block;
                }
                #appeal-btn {
                    position: absolute;
                    display: none;
                    height: 36px;
                    line-height: 36px;
                    top: 0px;
                    right: 6px;
                    font-weight: 800;
                    font-size: 12px;
                    text-decoration: underline;
                    cursor: pointer;
                }
            }
            .brief {
                position: relative;
                padding: 20px 4%;
                border: 2px dashed #ccc;
                h1 {
                    font-size: 14px;
                    display: inline-block;
                    margin: 0;
                }
                h3 {
                    font-size: 12px;
                    display: inline-block;
                }
                .brief-name {
                    margin-left: 30px;
                }
                .brief-gender {
                    margin-left: 30px;
                }
                button {
                    width: 60px;
                    height: 30px;
                    padding: 6px 6px;
                    margin-bottom: 20px;
                    background: #cf057d;
                    font-size: 12px;
                    color: #fff;
                    border: none;
                    border-radius: 3px;
                    top: 20px;
                    span {
                        display: block;
                        position: absolute;
                        top: 12px;
                        right: 6px;
                        width: 6px;
                        height: 6px;
                        background: url('../img/arrow-search.png') no-repeat;
                        background-size: cover;
                        -webkit-transform: rotate(180deg);
                        -moz-transform: rotate(180deg);
                        -ms-transform: rotate(180deg);
                        -o-transform: rotate(180deg);
                        transform: rotate(180deg);
                    }
                }
                .brief-btn {
                    text-align: center;
                    .btn-continue {
                        top: 20px;
                        padding-right: 70px;
                        
                    }
                    .btn-signup {
                        padding-right: 70px;
                        margin-left: 20px;
                    }
                }
            }
        }
        .result-score {
            .xima-score {
                margin-top: 30px;
                // margin-left: 100px;
                i {
                    font-size: 18px;
                    font-weight: 800;
                    color: #cf057d;
                }
                table {
                    width: 100%;
                }
                tr {
                    td {
                        font-size: 12px;
                        display: inline-block;
                        margin: 10px 20px 10px 0;
                    }
                    td:first-child {
                        width: 10%;
                    }
                    td:nth-child(2) {
                        width: 50%;
                    }
                    td:nth-child(3) {
                        width: 10%;
                    }
                }
            }
            .all-score {
                margin-top: 30px;
                // margin-left: 100px;
                i {
                    font-size: 18px;
                    font-weight: 800;
                    color: #cf057d;
                }
                
                table {
                    width: 100%;
                }

                tr {
                    td {
                        font-size: 12px;
                        box-sizing: border-box;
                        display: inline-block;
                        text-align: center;
                        margin-top: 10px;
                        // margin: 10px 80px 10px 0;
                    }
                    td:first-child {
                        width: 24%;
                        text-align: left;
                    }
                    td:nth-child(2) {
                        width: 36%;
                    }
                    td:nth-child(3) {
                        width: 20%;
                    }
                    td:nth-child(4) {
                        width: 20%;
                    }
                }

                tr.race-name {
                    td {
                        width: auto;
                        background: #73005F;
                        padding-left: 10px;
                        padding-right: 10px;
                        color: #fff;
                        border-radius: 3px;
                    }
                }
                
                td.score {
                    position: relative;
                }

                td.score- {
                    background: url('../img/zhitong-allscoreNo.png') no-repeat;
                    background-size: contain;
                    background-position: 50% 50%;
                }

                td.score:after {
                    position: absolute;
                    right: -66%;
                    content: '';
                    display: inline-block;
                    width: 20px;
                    height: 20px;
                }

                td.score-A:after {
                    background: url('../img/zhitong-allscore0.png') no-repeat;
                    background-size: contain;
                    background-position: 50% 50%;
                }
                td.score-B:after {
                    background: url('../img/zhitong-allscore1.png') no-repeat;
                    background-size: contain;
                    background-position: 50% 50%;
                }
                td.score-C:after {
                    background: url('../img/zhitong-allscore2.png') no-repeat;
                    background-size: contain;
                    background-position: 50% 50%;
                }
                td.score-D:after {
                    background: url('../img/zhitong-allscore3.png') no-repeat;
                    background-size: contain;
                    background-position: 50% 50%;
                }
            }
        }
        .result-foot {
            margin-top: 20px;
            p {
                text-indent: 0px;
                text-align: left;
                font-size: 10px;
            }
            a {
                font-size: 10px;
                color: #a22b91;
                font-weight: 800;
                margin-left: 10px;
                text-decoration: underline;
            }
        }
    }
}

#modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 99999;
    .mask {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: #000;
        opacity: 0.3;
    }
    .dialog {
        position: absolute;
        left: 25%;
        top: 16%;
        padding: 2px;
        z-index: 20001;
        height: auto;
        font-size: 18px;
        color: #fff;
    }
}

